package cn.aitstone.user.service;

import cn.aitstone.basic.dto.EmailCodeDto;
import cn.aitstone.basic.dto.SmsCodeDto;
import cn.aitstone.user.domain.User;
import cn.aitstone.basic.service.IBaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sheldon
 * @since 2022-07-06
 */
public interface IUserService extends IBaseService<User> {

    /**
    * @Title: registerPhone
    * @Description: 通过手机注册接口
    * @Author: Sheldon
    * @Version: 1.0
    * @Date:  2022/7/6 21:12
    * @Parameters: [smsCodeDto]
    * @Return void
    */
    void registerPhone(SmsCodeDto smsCodeDto);

    void registerEmail(EmailCodeDto emailCodeDto);

    User loadByLogininfoId(Long logininfoId);
}
